import {
	post,
	get
} from '@/common/service/service.js';

export default class Activity {
	//报名活动
	applyActivity = (params) => {
		return get('/jeecg-boot/app/activity/applyActivity', params)
	}
	//活动详情
	getActivityDetail = (params) => {
		return get('/jeecg-boot/app/activity/getActivityDetail', params)
	}
	//发布活动现场状态
	publishActivity = (params) => {
		return post('/jeecg-boot/app/activity/publishActivity', params)
	}
	//查询活动
	queryActivity = (params) => {
		return get('/jeecg-boot/app/activity/queryActivity', params)
	}
	//查询活动现场状态
	queryActivityDynamic = (params) => {
		return get('/jeecg-boot/app/activity/queryActivityDynamic', params)
	}
	//查询可选择的活动类型
	queryAllowSelectActivityType = (params) => {
		return get('/jeecg-boot/app/activity/queryAllowSelectActivityType', params)
	}

}